package teleradiologia.service;

import java.util.List;

import teleradiologia.domain.Offer;
import teleradiologia.repository.OfferDao;

public interface OfferManipulator {
	// simple CRUD operations
	long create(Offer offer);	 // create
	Offer getById(long id);		 // read
	void update(Offer offer);	 // update
	void delete(Offer offer);	 // delete
	
	public List<Offer> getAllByManagerdiagnosticlab(String nip);

	// IoC - setter
	public void setOfferDao(OfferDao offerDao);
}
